package com.exp.practice.workbench.dao;

import org.apache.ibatis.annotations.Param;

public interface ExaminationStudentRelationDao {
    int add(@Param("stuIds") String[] stuIds, @Param("eid") String eid);

    int getTotal(@Param("stuId") String stuId,
                 @Param("finished") String finished);

    String[] getEids(@Param("stuId") String stuId,
                     @Param("finished")String finished);

    int setFinishedStatus(@Param("eid") String eid,
                          @Param("stuId")String stuId);

    String[] isExists(String[] eid);

    Integer getUnfinishedCount(String eid);

    Integer getFinishedCount(String eid);

}
